package com.cms.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

    @RequestMapping("/mainpage")
    public String tomainPage(){
        return "jsp/mainPage";
    }

    @RequestMapping("/registerPage")
    public String toregister(){
        return "jsp/register";
    }

    @RequestMapping("/loginPage")
    public String tologin(){
        return "jsp/login";
    }

    @RequestMapping("/freelance")
    public String tofreelancePage(){
        return "jsp/freelancePage";
    }

    @RequestMapping("/project")
    public String toprojectPage(){
        return "jsp/projectPage";
    }

    @RequestMapping("/client")
    public String toclientPage(){
        return "jsp/clientPage";
    }

    @RequestMapping("/schedule")
    public String toschedulePage(){
        return "jsp/schedulePage";
    }

    @RequestMapping("/audit")
    public String toauditPage(){
        return "jsp/auditPage";
    }

    @RequestMapping("/securitylog")
    public String tosecurityLogPage(){
        return "jsp/securityLogPage";
    }
}
